package com.realtyManage.springboot.Dao;


import com.realtyManage.springboot.Model.Do.HouseDetail;
import com.realtyManage.springboot.Model.Do.SystemLock;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Repository
public interface SystemLockRepository extends JpaRepository<SystemLock, Integer>, JpaSpecificationExecutor<SystemLock> {

    @Query(value = "select * from sys_lock",nativeQuery = true)
    SystemLock getShutDownTime();

}
